<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="../../X-admin/css/font.css">
    <link rel="stylesheet" href="../../X-admin/css/xadmin.css">

    <script src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="../../X-admin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../X-admin/js/xadmin.js"></script>
    <script src="../../js/product/product-edit.js"></script>
</head>

<body>
<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form">

            <div class="layui-form-item">
                <label for="productType" class="layui-form-label">
                    <span class="x-red">*</span>产品类型
                </label>
                <div class="layui-input-inline">

                    <div class="layui-input-inline">
                        <select id="productType" name="typeId" >
                            <option value="">请选择产品类型</option>
                            <option value="1">川菜</option>
                            <option value="2">粤菜</option>
                            <option value="3">黑龙江菜</option>
                            <option value="4">我我我我</option>
                            <option value="5">哈尔滨菜</option>
                            <option value="6">鲁菜</option>
                        </select>
                    </div>

                </div>
            </div>

            <div class="layui-form-item">
                <label for="productName" class="layui-form-label">
                    <span class="x-red">*</span>产品名
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="productName" name="name" required="" lay-verify="productName"
                           class="layui-input"></div>
            </div>

            <div class="layui-form-item">
                <label for="forWho" class="layui-form-label">
                    <span class="x-red">*</span>适用人群
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="forWho" name="forWho" required="" lay-verify="forWho"
                           class="layui-input" lay-reqtext="适用人群必填">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>产品图片
                </label>
                <div class="layui-input-inline">
                    <button type="button" class="layui-btn" id="test1">上传图片</button>
                    <div class="layui-upload-list">
                        <img class="layui-upload-img" id="demo1" name="imgHref" width="100" height="100">
                    </div>
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <input type="radio" name="enable" value="启用" title="启用" >
                    <input type="radio" name="enable" value="停用" title="停用">
                </div>
            </div>


            <div class="layui-form-item">
                <label for="productNormalPrice" class="layui-form-label">
                    <span class="x-red">*</span>产品价格
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="productNormalPrice" name="normalPrice" required=""
                           lay-verify="productNormalPrice" class="layui-input"></div>
            </div>

            <div class="layui-form-item">
            <label for="productDesc" class="layui-form-label">
                <span class="x-red">*</span>产品描述
            </label>
            <div class="layui-input-inline">
                <textarea id="productDesc" style="display: none;" name="description"></textarea>
            </div>
        </div>

            <div class="layui-form-item">
                <label class="layui-form-label"></label>
                <button class="layui-btn" lay-filter="edit" lay-submit="">修改</button>
            </div>

        </form>
    </div>
</div>


</body>


</html>